import request from '@/utils/request'

export function queryAuthorityMenuByPage(data) {
  return request({
    url: '/resource/queryAuthorityMenuByPage',
    method: 'post',
    data
  })
}
export function updateMenuInfo(data) {
  return request({
    url: '/resource/updateMenuInfo',
    method: 'post',
    data
  })
}
export function saveResource(data) {
  return request({
    url: '/resource/saveResource',
    method: 'post',
    data
  })
}
// 获取当前登录人的权限菜单
export function authorityMenu(data) {
  return request({
    url: '/resource/authorityMenu',
    method: 'post',
    data
  })
}
